package movie.test.as.order.service;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

import com.alibaba.fastjson.JSONObject;
import com.github.pagehelper.PageInfo;

public interface OrderService {

	Map<String,Object> addOrderInfo(JSONObject objs);

	List<Map<String, Object>> getOrderByUserId();

	int updateOrderById(JSONObject objs);

	int updateSubmitOrderById(JSONObject objs);



	int updateSeatsById(JSONObject objs);

	List<Map<String, Object>> getOrderListsByUserId();

	PageInfo<Map<String, Object>> getOrderList(JSONObject objs);

	int deleteOrders(JSONObject objs);

	PageInfo<Map<String, Object>> getTotalTicketList(JSONObject objs)throws ParseException;

	List<Map<String, Object>> getOrderListById(JSONObject objs);

	List<Map<String, Object>> getHistoryOrderListById(JSONObject objs);

	int updateReturnTicket(JSONObject objs);

	List<Map<String, Object>> getOrderNoById(JSONObject objs);

	Map<String, Object> getUserInfo(JSONObject objs);

	List<Map<String, Object>> getTodayTickets();

}
